url ( service in module ng )

Description

This method is getter / setter.

Return url (e.g. /path?a=b#hash ) when called without any parameter.

Change path, search and hash, when called with parameter and return $location .

Parameters

Returns

{string}

url